home *** CD-ROM | disk | FTP | other *** search
- >Don't use something like this: it repeats 128^2 times the same operations,
- >even if the data are already sorted.
- >You can better think about a loop with a flag: if the datas are sorted,
- >exit from the loop.
-
-
- Yeah, sorry about that. I'm not great with sorting algorithms. I've been
- told that a flag would be a good idea, but I'm not sure how to implement it.
- How about an updated algorithm? It'd come in handy to me and probably a
- load of others. (or I might be the only one who can't figure out how to sort
- properly :( )
-
-
-